﻿using System;
using Autodesk.Revit.DB;
using Autodesk.Revit.UI.Selection;

namespace Assist
{
	public class FamilyInstanceFilter : ISelectionFilter
	{
		bool ISelectionFilter.AllowElement(Element elem)
		{
			return elem is FamilyInstance;
		}

		bool ISelectionFilter.AllowReference(Reference reference, XYZ position)
		{
			return false;
		}
	}
}
